Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@arcblock/mcrypto
Advanced tools
@arcblock/mcrypto
Forge mcrypto implementation for javascript, just a wrapper around existing javascript crypto libraries.
yarn add @arcblock/mcrypto
const { Signer } = require('@arcblock/mcrypto');
const keyPair = Signer.Ed25519.genKeyPair();
const message = 'some message to sign';
const signature = Signer.Ed25519.sign(message, keyPair.secretKey);
const result = Signer.Ed25519.verify(message, signature, keyPair.publicKey);
assert.ok(result);
const { Hasher } = require('@arcblock/mcrypto');
const message = 'message to hash';
const hash = Hasher.SHA2.hash256(message);
Important Note: results from signer and hasher are all hex encoded string
0.13.2 (March 14, 2019)
FAQs
Crypto lib that provides signer,crypter,hasher interface
The npm package @arcblock/mcrypto receives a total of 89 weekly downloads. As such, @arcblock/mcrypto popularity was classified as not popular.
We found that @arcblock/mcrypto demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.